<template>
  <div class="page pageHome">
    <h1>脚手架</h1>
    <h1>兄弟们，这就是首页</h1>
    <div @click="goDemo">点击我,去Demo页面</div>
  </div>
</template>

<script>
  import {
    mapState,
    mapActions
  } from 'vuex';
  import Vue from 'vue';
  export default {
    name: 'index',
    metaInfo: {
      title: '脚手架首页'
    },
    data() {
      return {
        
      }
    },
    async asyncData({
      store,
      route
    }) {
      //骨架屏显示的异步时间差
    },
    methods: {
      goDemo() {
        this.$router.push({
          path: '/demo'
        })
      }
    },
    mounted() {
     
    }
  }
</script>

<style lang="scss" scoped>
.pageHome {
}
</style>


